(w32_menu_show): Mark the frame's menu as inactive when popup menu
authorJason Rumney <jasonr@gnu.org>
Thu, 22 Feb 2007 23:47:43 +0000 (23:47 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 22 Feb 2007 23:47:43 +0000 (23:47 +0000)
finishes.

src/w32menu.c

index a0aef4b58dd21b172a0691993df75686d7d4a3ba..ba29c6ae43393131f21ef98b31f6479a77ddf2c3 100644 (file)
@@ -1937,6 +1937,7 @@ w32_menu_show (f, x, y, for_click, keymaps, title, error)
 
   /* Free the owner-drawn and help-echo menu strings.  */
   w32_free_menu_strings (FRAME_W32_WINDOW (f));
+  f->output_data.w32->menubar_active = 0;
 
   /* Find the selected item, and its pane, to return
      the proper value.  */